package cn.edu.xmu.orderpayment.order.microservice.service;

import cn.edu.xmu.orderpayment.order.microservice.retvo.ShopRetVo;
import cn.edu.xmu.privilegegateway.annotation.util.InternalReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
/**
 * @author liuyunlong
 * @description
 * @createTime 2021年12月8日16:47:12
 **/
@FeignClient(name = "shop-service")
public interface ShopService {
    @GetMapping("internal/shops/{id}")
    InternalReturnObject<ShopRetVo> getShopById(@PathVariable("id")Long id);
}